package com.yzk.train.batch.feign;

import com.yzk.train.common.response.Result;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class BusinessFeignFallBack implements BusinessFeign {

    @Override
    public Result<Object> genDaily(Date date) {
        return Result.fail("远程调用生成每日车次异常，降级处理");
    }

}
